try {
    if (typeof $request.url.indexOf("/aweme/v2/feed/") != -1) {
        $done({
            url: $request.url.replace(/\/v\d\//, "/v1/")
        });
    }
} catch (err) {
    console.log("脚本运行错误，跳过处理。\n" + err);
    $done({});
}